var appone=angular.module("appone",["ui.router"]);
appone.controller("ctrl",function($scope){
	$scope.isShow=false;
	$scope.add=function(){
		$scope.isShow=!$scope.isShow;
	}
	
})

appone.config(function($stateProvider,$urlRouterProvider){
	$urlRouterProvider.otherwise("/jieshao");
	$stateProvider.state("jieshao",{
		url:"/jieshao",
		templateUrl:"fenlei-box/fenlei-one.html",
//		controller:"ctrl"
	})
	.state("pinglun",{
		url:"/pinglun",
		templateUrl:"fenlei-box/fenlei-two.html",
//		controller:"ctrl"
	})
})